package com.hengxinguotong.hxgtwygsp.animator;

import android.animation.Animator;
import android.animation.ObjectAnimator;

/**
 * TODO
 *
 * @author hjz
 * @version V1.0.0
 * @since 2018/10/31 15:03
 */

public interface AnimatorBuilder
{
    AnimatorBuilder buildTarget(Object target);

    AnimatorBuilder buildPropertyName(String propertyName);

    AnimatorBuilder buildValues(float... values);

    AnimatorBuilder buildDuration(long duration);

    AnimatorBuilder buildRepeatMode(int value);

    AnimatorBuilder buildRepeatCount(int value);

    AnimatorBuilder buildListener(Animator.AnimatorListener listener);

    ObjectAnimator create();
}
